package neural;

public class TanghDerivada extends Function {

	public TanghDerivada(double beta) {
		super(beta);
	}
	
	@Override
	public double eval(double val) {
		return beta*(1-(Math.pow(Math.tanh(val*beta),2)));
	}
}
